package com.yuzhenxin.coursesystem.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class UserPasswordUpdateReqVO {

    @NotNull
    @Range(min = 1, max = 2)
    @Schema(title = "用户类型，1-学生，2-教师")
    private Integer type;

    @NotEmpty
    private String originPassword;

    @NotEmpty
    private String newPassword;

}
